package cn.llssit.domain;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @Author: Lesan
 * @Date: 2020-06-24
 */
@Data
@Accessors(chain = true)
@Document(indexName = "movie_index", type = "movie")
public class MovieSearch implements Serializable {
    private static final long serialVersionUID = -1L;

    @Id
    private Integer id;
    private String name;
    private String type;
    private Float grade;
    private Integer want;
    private String locate;
    private Integer duration;
    private String describe;
    private String date;
    private String showloc;
    private String poster;
    private Integer box;
    private String main_actor;
    private String state;
    private String show;
}
